package io.jpress.web.controller;


import com.jfinal.core.paragetter.Para;
import com.jfinal.kit.Ret;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.render.FileRender;
import io.jboot.web.controller.JbootController;
import io.jboot.web.controller.annotation.RequestMapping;
import io.jpress.model.Attachment;
import io.jpress.web.render.RenderImage;

@RequestMapping("/image")
public class ImageController extends JbootController {


    public void index(@Para("path")String path){
        render(new FileRender("temp.png",path));
    }
}
